Optimal. Leaf size=124 \[ -\frac {5 e}{3 (b d-a e)^2 (d+e x)^{3/2}}-\frac {1}{(b d-a e) (a+b x) (d+e x)^{3/2}}-\frac {5 b e}{(b d-a e)^3 \sqrt {d+e x}}+\frac {5 b^{3/2} e \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {d+e x}}{\sqrt {b d-a e}}\right )}{(b d-a e)^{7/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.05, antiderivative size = 124, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 5, integrand size = 28, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.179, Rules used = {27, 44, 53, 65,
214} \begin {gather*} \frac {5 b^{3/2} e \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {d+e x}}{\sqrt {b d-a e}}\right )}{(b d-a e)^{7/2}}-\frac {5 b e}{\sqrt {d+e x} (b d-a e)^3}-\frac {1}{(a+b x) (d+e x)^{3/2} (b d-a e)}-\frac {5 e}{3 (d+e x)^{3/2} (b d-a e)^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 27
Rule 44
Rule 53
Rule 65
Rule 214
Rubi steps
\begin {align*} \int \frac {1}{(d+e x)^{5/2} \left (a^2+2 a b x+b^2 x^2\right )} \, dx &=\int \frac {1}{(a+b x)^2 (d+e x)^{5/2}} \, dx\\ &=-\frac {1}{(b d-a e) (a+b x) (d+e x)^{3/2}}-\frac {(5 e) \int \frac {1}{(a+b x) (d+e x)^{5/2}} \, dx}{2 (b d-a e)}\\ &=-\frac {5 e}{3 (b d-a e)^2 (d+e x)^{3/2}}-\frac {1}{(b d-a e) (a+b x) (d+e x)^{3/2}}-\frac {(5 b e) \int \frac {1}{(a+b x) (d+e x)^{3/2}} \, dx}{2 (b d-a e)^2}\\ &=-\frac {5 e}{3 (b d-a e)^2 (d+e x)^{3/2}}-\frac {1}{(b d-a e) (a+b x) (d+e x)^{3/2}}-\frac {5 b e}{(b d-a e)^3 \sqrt {d+e x}}-\frac {\left (5 b^2 e\right ) \int \frac {1}{(a+b x) \sqrt {d+e x}} \, dx}{2 (b d-a e)^3}\\ &=-\frac {5 e}{3 (b d-a e)^2 (d+e x)^{3/2}}-\frac {1}{(b d-a e) (a+b x) (d+e x)^{3/2}}-\frac {5 b e}{(b d-a e)^3 \sqrt {d+e x}}-\frac {\left (5 b^2\right ) \text {Subst}\left (\int \frac {1}{a-\frac {b d}{e}+\frac {b x^2}{e}} \, dx,x,\sqrt {d+e x}\right )}{(b d-a e)^3}\\ &=-\frac {5 e}{3 (b d-a e)^2 (d+e x)^{3/2}}-\frac {1}{(b d-a e) (a+b x) (d+e x)^{3/2}}-\frac {5 b e}{(b d-a e)^3 \sqrt {d+e x}}+\frac {5 b^{3/2} e \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {d+e x}}{\sqrt {b d-a e}}\right )}{(b d-a e)^{7/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.31, size = 125, normalized size = 1.01 \begin {gather*} \frac {2 a^2 e^2-2 a b e (7 d+5 e x)-b^2 \left (3 d^2+20 d e x+15 e^2 x^2\right )}{3 (b d-a e)^3 (a+b x) (d+e x)^{3/2}}+\frac {5 b^{3/2} e \tan ^{-1}\left (\frac {\sqrt {b} \sqrt {d+e x}}{\sqrt {-b d+a e}}\right )}{(-b d+a e)^{7/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.76, size = 121, normalized size = 0.98
method | result | size |
derivativedivides | \(2 e \left (\frac {b^{2} \left (\frac {\sqrt {e x +d}}{2 \left (e x +d \right ) b +2 a e -2 b d}+\frac {5 \arctan \left (\frac {b \sqrt {e x +d}}{\sqrt {b \left (a e -b d \right )}}\right )}{2 \sqrt {b \left (a e -b d \right )}}\right )}{\left (a e -b d \right )^{3}}-\frac {1}{3 \left (a e -b d \right )^{2} \left (e x +d \right )^{\frac {3}{2}}}+\frac {2 b}{\left (a e -b d \right )^{3} \sqrt {e x +d}}\right )\) | \(121\) |
default | \(2 e \left (\frac {b^{2} \left (\frac {\sqrt {e x +d}}{2 \left (e x +d \right ) b +2 a e -2 b d}+\frac {5 \arctan \left (\frac {b \sqrt {e x +d}}{\sqrt {b \left (a e -b d \right )}}\right )}{2 \sqrt {b \left (a e -b d \right )}}\right )}{\left (a e -b d \right )^{3}}-\frac {1}{3 \left (a e -b d \right )^{2} \left (e x +d \right )^{\frac {3}{2}}}+\frac {2 b}{\left (a e -b d \right )^{3} \sqrt {e x +d}}\right )\) | \(121\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: ValueError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 382 vs.
\(2 (118) = 236\).
time = 2.29, size = 775, normalized size = 6.25 \begin {gather*} \left [-\frac {15 \, {\left ({\left (b^{2} x^{3} + a b x^{2}\right )} e^{3} + 2 \, {\left (b^{2} d x^{2} + a b d x\right )} e^{2} + {\left (b^{2} d^{2} x + a b d^{2}\right )} e\right )} \sqrt {\frac {b}{b d - a e}} \log \left (\frac {2 \, b d - 2 \, {\left (b d - a e\right )} \sqrt {x e + d} \sqrt {\frac {b}{b d - a e}} + {\left (b x - a\right )} e}{b x + a}\right ) + 2 \, {\left (3 \, b^{2} d^{2} + {\left (15 \, b^{2} x^{2} + 10 \, a b x - 2 \, a^{2}\right )} e^{2} + 2 \, {\left (10 \, b^{2} d x + 7 \, a b d\right )} e\right )} \sqrt {x e + d}}{6 \, {\left (b^{4} d^{5} x + a b^{3} d^{5} - {\left (a^{3} b x^{3} + a^{4} x^{2}\right )} e^{5} + {\left (3 \, a^{2} b^{2} d x^{3} + a^{3} b d x^{2} - 2 \, a^{4} d x\right )} e^{4} - {\left (3 \, a b^{3} d^{2} x^{3} - 3 \, a^{2} b^{2} d^{2} x^{2} - 5 \, a^{3} b d^{2} x + a^{4} d^{2}\right )} e^{3} + {\left (b^{4} d^{3} x^{3} - 5 \, a b^{3} d^{3} x^{2} - 3 \, a^{2} b^{2} d^{3} x + 3 \, a^{3} b d^{3}\right )} e^{2} + {\left (2 \, b^{4} d^{4} x^{2} - a b^{3} d^{4} x - 3 \, a^{2} b^{2} d^{4}\right )} e\right )}}, \frac {15 \, {\left ({\left (b^{2} x^{3} + a b x^{2}\right )} e^{3} + 2 \, {\left (b^{2} d x^{2} + a b d x\right )} e^{2} + {\left (b^{2} d^{2} x + a b d^{2}\right )} e\right )} \sqrt {-\frac {b}{b d - a e}} \arctan \left (-\frac {{\left (b d - a e\right )} \sqrt {x e + d} \sqrt {-\frac {b}{b d - a e}}}{b x e + b d}\right ) - {\left (3 \, b^{2} d^{2} + {\left (15 \, b^{2} x^{2} + 10 \, a b x - 2 \, a^{2}\right )} e^{2} + 2 \, {\left (10 \, b^{2} d x + 7 \, a b d\right )} e\right )} \sqrt {x e + d}}{3 \, {\left (b^{4} d^{5} x + a b^{3} d^{5} - {\left (a^{3} b x^{3} + a^{4} x^{2}\right )} e^{5} + {\left (3 \, a^{2} b^{2} d x^{3} + a^{3} b d x^{2} - 2 \, a^{4} d x\right )} e^{4} - {\left (3 \, a b^{3} d^{2} x^{3} - 3 \, a^{2} b^{2} d^{2} x^{2} - 5 \, a^{3} b d^{2} x + a^{4} d^{2}\right )} e^{3} + {\left (b^{4} d^{3} x^{3} - 5 \, a b^{3} d^{3} x^{2} - 3 \, a^{2} b^{2} d^{3} x + 3 \, a^{3} b d^{3}\right )} e^{2} + {\left (2 \, b^{4} d^{4} x^{2} - a b^{3} d^{4} x - 3 \, a^{2} b^{2} d^{4}\right )} e\right )}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{\left (a + b x\right )^{2} \left (d + e x\right )^{\frac {5}{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.39, size = 224, normalized size = 1.81 \begin {gather*} -\frac {5 \, b^{2} \arctan \left (\frac {\sqrt {x e + d} b}{\sqrt {-b^{2} d + a b e}}\right ) e}{{\left (b^{3} d^{3} - 3 \, a b^{2} d^{2} e + 3 \, a^{2} b d e^{2} - a^{3} e^{3}\right )} \sqrt {-b^{2} d + a b e}} - \frac {\sqrt {x e + d} b^{2} e}{{\left (b^{3} d^{3} - 3 \, a b^{2} d^{2} e + 3 \, a^{2} b d e^{2} - a^{3} e^{3}\right )} {\left ({\left (x e + d\right )} b - b d + a e\right )}} - \frac {2 \, {\left (6 \, {\left (x e + d\right )} b e + b d e - a e^{2}\right )}}{3 \, {\left (b^{3} d^{3} - 3 \, a b^{2} d^{2} e + 3 \, a^{2} b d e^{2} - a^{3} e^{3}\right )} {\left (x e + d\right )}^{\frac {3}{2}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.67, size = 161, normalized size = 1.30 \begin {gather*} \frac {\frac {10\,b\,e\,\left (d+e\,x\right )}{3\,{\left (a\,e-b\,d\right )}^2}-\frac {2\,e}{3\,\left (a\,e-b\,d\right )}+\frac {5\,b^2\,e\,{\left (d+e\,x\right )}^2}{{\left (a\,e-b\,d\right )}^3}}{b\,{\left (d+e\,x\right )}^{5/2}+\left (a\,e-b\,d\right )\,{\left (d+e\,x\right )}^{3/2}}+\frac {5\,b^{3/2}\,e\,\mathrm {atan}\left (\frac {\sqrt {b}\,\sqrt {d+e\,x}\,\left (a^3\,e^3-3\,a^2\,b\,d\,e^2+3\,a\,b^2\,d^2\,e-b^3\,d^3\right )}{{\left (a\,e-b\,d\right )}^{7/2}}\right )}{{\left (a\,e-b\,d\right )}^{7/2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________